//package nbcp.filter
//
//import feign.RequestInterceptor
//import feign.RequestTemplate
//import org.springframework.context.annotation.Bean
//import org.springframework.context.annotation.Configuration
//
///**
// * Created by yuxh on 2019/4/30
// */
//
//
//@Configuration
//public class BaseConfig {
//
//    @Bean
//    public fun getRequestInterceptor() : RequestInterceptor {
//        return  object: RequestInterceptor  {
//
//            override fun    apply(requestTemplate: RequestTemplate) {
//                /** 设置请求头信息 **/
//                requestTemplate.header("Content-Type", "application/json");
//                System.out.println("自定义拦截器");
//            }
//        };
//    }
//}